package com.j1903;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.j1903.bean.Goods;
import com.j1903.service.GoodsService;
import com.j1903.service.IUsersService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
public class Dao {
    @Resource
    private GoodsService goodsService;
    @Test
    public void tastAdd()
    {
        Goods goods=new Goods(new Long(1),null,null,null,null,null,
                null,null,null,null,null
        );
        System.out.println( goodsService.lists(goods));
    }

}
